DARK BASIC
MAIN EXAMPLES MENU

Examples provide the best way to understanding how a command is used and what it does. Below are categories of examples that cover the entire language.

BASIC EXAMPLES

01. IF THEN Commands
02. FOR NEXT Commands
03. LOOP Commands
04. GOTO Commands
05. GOSUB Commands
06. DATA Commands
07. SUSPEND Commands
08. SLEEP Command
09. SYNC Commands
10. ARRAY Commands
11. REMARK Commands
12. Using The Timer
13. FUNCTION Commands
14. #INCLUDE Command
15. WAIT Command
16. Using CL$()

INPUT EXAMPLES

01. Standard Input
02. Mouse Draw
03. Simple File System Viewer
04. Checklist File System Viewer
05. File System Searcher
06. Keyboard Control
07. Simple Joystick Movement
08. Analogue Joystick Movement
09. HMD Control Device
10. Simple Force Feedback
11. Special Force Feedback
12. Mouselook
13. Copying a File
14. Sequential File Access
15. Directory Handling
16. Shell Execution
17. File Expressions
18. Using the Clipboard
19. FTP Access
20. Other Directories
21. Packed Files
22. Advanced Joystick
23. Registry Access
24. Keyboard Entry
25. Memblock Files

MATHS EXAMPLES

01. Random Number
02. Maths Expressions
03. INC and DEC Commands

BASIC2D EXAMPLES

01. Clearing the Screen
02. Drawing a Box
03. Drawing a Circle
04. Drawing a Dot
05. Drawing a Ellipse
06. Using the RGB Value
07. Getting Pixel Data
08. Plotting RGB Values

TEXT EXAMPLES

01. Using Print
02. Text Command Usage
03. Checking for Fonts
04. Setting Text Size
05. Setting Text Style
06. Setting Text Opacity
07. See Through text
08. String Commands
09. Manipulating Strings
10. Character Sets

SCREEN EXAMPLES

01. Display Mode Switching
02. Gamma Fading

BITMAP EXAMPLES

01. Load a Bitmap
02. Load Bitmap Hidden
03. Save a Bitmap
04. Set Current Bitmap
05. Create a Bitmap
06. Bitmap Editing
07. Bitmap Deleting
08. Additional Formats

SPRITE EXAMPLES

01. Grabbing Images
02. Making a Sprite
03. Draw Sprites to Screen
04. Using Sprites
05. Scaling a Sprite
06. Stretching a Sprite
07. Mirror a Sprite
08. Flipping a Sprite
09. Sprite Collision
10. Saving An Image
11. Sprite Visibility

SOUND EXAMPLES

01. Load and Play Sound
02. Load and Pan Sound
03. Sound Speed Change
04. Sound Volume Change
05. Display Sound Data
06. Check Sound Status
07. Load a 3D Sound
08. Demonstrate 3D Sounds
09. Clone and Play Sound
10. Recording Sounds
11. 3D Sound Placement
12. Environmental Audio

MUSIC EXAMPLES

01. Load and Play Music
02. Load and Loop Music
03. Pausing Music
04. Display Music Data
05. Load and Play CD Audio

ANIMATION EXAMPLES

01. Load and Play AVI
02. Load and Loop AVI
03. Load and Move AVI
04. Display Anim Data

BASIC3D EXAMPLES

01. Your First Object
02. Managing Your Objects
03. Amending Object Data
04. Making Objects
05. Adding Limbs
06. Object Collision
07. Fogging Effect
08. Backdrop Control
09. Simple 3D Maths
10. Picking Up A Cone
11. Using Meshes
12. 3D Availability
13. 3D Model Viewer
14. Simple User Animation
15. Particle Bombs
16. Mesh Animation
17. Scroll Texture
18. Free Flight
19. Static Objects
20. Screen Objects
21. Scaling Textures
22. Texture Compression
23. Static Occlusion
24. Box Collision
25. Sliding Collision
26. Normalizaion
27. Restoring Textures
28. Make 3D Animation
29. Basic Mipmapping
30. Line Of Sight

CAMERA3D EXAMPLES

01. Simple Camera
02. First Person Camera
03. Third Person Camera
04. Smooth Curve Camera
05. Reading Camera Data
06. Camera Range
07. Camera Rotation Order
08. Camera View

LIGHT3D EXAMPLES

01. Lighting Effect
02. Shadow Effect
03. Light Ranges

MATRIX3D EXAMPLES

01. A Simple Matrix
02. Manipulating A Matrix
03. Texturing A Matrix
04. Molding A Matrix
05. Tile Scrolling Matrix
06. Smooth Scrolling Matrix
07. Reading Matrix Data
08. Using Matrix Normals

SYSTEM EXAMPLES

01. Check Graphic Cards
02. Set Emulation Mode
03. Switch Graphic Cards
04. Escape Key Control
05. TnL Control
06. Windows Control
07. System Keys
08. DLL Access
09. Exit Prompt
10. Always Active

MEMBLOCK EXAMPLES

01. Simple Memblock
02. Backbuffer Access
03. Mesh Data Access
04. Image Data Access
05. Sound Data Access
06. Bitmap Data Access

MULTIPLAYER EXAMPLES

01. Easy Multiplayer
02. Basic Multiplayer
03. Multiplayer Game
04. Sending a Bitmap
05. Sending An Image
06. Walkie Talker
07. Sending a Mesh


CLick here to return to the Main Menu.